<template>
	<a-config-provider :locale='locale'>
	    <slot></slot>
	</a-config-provider>
</template>


<script>
	import locale from 'ant-design-vue/es/locale/zh_CN'
	import { ConfigProvider } from 'ant-design-vue'
	import 'moment/dist/locale/zh-cn'
	
	app.use(ConfigProvider)
	export default{
		setup(){
			return {
				locale
			}
		}
	}
</script>
